<template>
  <div>
    <el-tabs v-model="activeName" class="demo-tabs">
      <el-tab-pane label="点名记录" name="first" lazy>
        <Record />
      </el-tab-pane>
      <el-tab-pane label="超时未点" name="second" lazy>
        <Overtime />
      </el-tab-pane>
      <el-tab-pane label="缺课补课" name="third" lazy>
        <Missed />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup>
import Record from "./components/record.vue";
import Overtime from "./components/overtime.vue";
import Missed from "./components/missed.vue";
let activeTab = "first";
const activeName = ref(activeTab);
</script>

<style lang="scss" scoped></style>
